package cn.yunhe.dao;

import cn.yunhe.entity.Topic;

import java.util.List;

public interface ITopicDao {

    List<Topic> searchByKey(Topic topic);

    List<Topic> searchAll();

    int save(Topic topic);

    int del(int tid);

    int up(Topic topic);
}
